package mdm.com;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

@Configuration
@PropertySource({ "classpath:config.properties" })
public class LocalConfig {

    @Value("${JCO_ASHOST}")
    private String JCO_ASHOST;

    @Value("${JCO_SYSNR}")
    private String JCO_SYSNR;

    @Value("${JCO_USER}")
    private String JCO_USER;

    @Value("${JCO_PASSWD}")
    private String JCO_PASSWD;

    @Value("${JCO_CLIENT}")
    private String JCO_CLIENT;

//    @Value("${JCO_LANG}")
//    private String JCO_LANG;

    @Value("${JCO_POOL_CAPACITY}")
    private String JCO_POOL_CAPACITY;

    @Value("${JCO_PEAK_LIMIT}")
    private String JCO_PEAK_LIMIT;
    
    
    @Value("${JCO_LANG_zh}")
    private String JCO_LANG_zh;
    
    @Value("${JCO_LANG_vi}")
    private String JCO_LANG_vi;
    
    @Value("${FTP_IP}")
    private String FTP_IP;
    
    @Value("${FTP_USR}")
    private String FTP_USR;
    
    @Value("${FTP_PWD}")
    private String FTP_PWD;

    @Value("${VERSION_PATH}")
    private String VERSION_PATH;
    
    

    public String getVERSION_PATH() {
        return VERSION_PATH;
    }



    public String getFTP_IP() {
        return FTP_IP;
    }



    public String getFTP_USR() {
        return FTP_USR;
    }



    public String getFTP_PWD() {
        return FTP_PWD;
    }



    public String getJCO_ASHOST() {
        return JCO_ASHOST;
    }



    public String getJCO_SYSNR() {
        return JCO_SYSNR;
    }



    public String getJCO_USER() {
        return JCO_USER;
    }



    public String getJCO_PASSWD() {
        return JCO_PASSWD;
    }



    public String getJCO_CLIENT() {
        return JCO_CLIENT;
    }



    



    public String getJCO_LANG_zh() {
        return JCO_LANG_zh;
    }



    public String getJCO_LANG_vi() {
        return JCO_LANG_vi;
    }



    public String getJCO_POOL_CAPACITY() {
        return JCO_POOL_CAPACITY;
    }



    public String getJCO_PEAK_LIMIT() {
        return JCO_PEAK_LIMIT;
    }



    @Bean
    public static PropertySourcesPlaceholderConfigurer propertyConfigure() {
        return new PropertySourcesPlaceholderConfigurer();
    }
}